<div id="users" class="box">
  <div id="hot_users" class="panel panel-default user-list">
    <div class="panel-heading"><%= @location.name %>的会员</div>
    <div class="panel-body row">
      <% if !@users.blank? %>
      <% @users.each do |item| %>
      <div class="user col-sm-1">
        <div class="avatar"><%= user_avatar_tag(item) %></div>
        <div class="name"><%= user_name_tag(item) %></div>
      </div>
      <% end %>
      <% end %>
    </div>
    <div class="panel-footer">
      <%= will_paginate @users %>
    </div>
  </div>
</div>